package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

public class ChooseGoodInfo {
    private String status;
    private String msg;
    private List<GoodInfo> goodInfoList;

    public String getStatus() {
        return status == null ? "" : status;
    }

    public List<GoodInfo> getGoodInfoList() {
        if (goodInfoList == null) {
            return new ArrayList<>();
        }
        return goodInfoList;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public static class GoodInfo{

        private String id;
        private String merchant_id;
        private String store_id;
        private String warehouse_id;
        private String goods_class_id;
        private String goods_id;
        private String sku_id;
        private String goods_name;
        private String sku_name;
        private String sku_id_list;
        private String goods_number;
        private String sku_goods_number;
        private String goods_code;
        private String sku_code;
        private String company;
        private String specifications;
        private String attribute_state;
        private String pricing_method;
        private String goods_brand_id;
        private String goods_yieldly_id;
        private String goods_num;
        private String sku_num;
        private String more_num;
        private String less_num;
        private String status;
        private String cost_price;
        private String add_time;
        private String serial_number_state;
        private String loss_num;


        public String getId() {
            return id == null ? "" : id;
        }

        public String getMerchant_id() {
            return merchant_id == null ? "" : merchant_id;
        }

        public String getStore_id() {
            return store_id == null ? "" : store_id;
        }

        public String getWarehouse_id() {
            return warehouse_id == null ? "" : warehouse_id;
        }

        public String getGoods_class_id() {
            return goods_class_id == null ? "" : goods_class_id;
        }

        public String getGoods_id() {
            return goods_id == null ? "" : goods_id;
        }

        public String getSku_id() {
            return sku_id == null ? "" : sku_id;
        }

        public String getGoods_name() {
            return goods_name == null ? "" : goods_name;
        }

        public String getSku_name() {
            return sku_name == null ? "" : sku_name;
        }

        public String getSku_id_list() {
            return sku_id_list == null ? "" : sku_id_list;
        }

        public String getGoods_num() {
            return goods_num == null ? "" : goods_num;
        }

        public String getSku_num() {
            return sku_num == null ? "" : sku_num;
        }

        public String getMore_num() {
            return more_num == null ? "" : more_num;
        }

        public String getGoods_number() {
            return goods_number == null ? "" : goods_number;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public String getCost_price() {
            return cost_price == null ? "" : cost_price;
        }

        public String getAdd_time() {
            return add_time == null ? "" : add_time;
        }

        public String getSerial_number_state() {
            return serial_number_state == null ? "" : serial_number_state;
        }

        public String getLoss_num() {
            return loss_num == null ? "" : loss_num;
        }

        public String getAttribute_state() {
            return attribute_state == null ? "" : attribute_state;
        }

        public String getCompany() {
            return company == null ? "" : company;
        }

        public String getGoods_brand_id() {
            return goods_brand_id == null ? "" : goods_brand_id;
        }

        public String getGoods_code() {
            return goods_code == null ? "" : goods_code;
        }

        public String getGoods_yieldly_id() {
            return goods_yieldly_id == null ? "" : goods_yieldly_id;
        }

        public String getLess_num() {
            return less_num == null ? "" : less_num;
        }

        public String getPricing_method() {
            return pricing_method == null ? "" : pricing_method;
        }

        public String getSku_code() {
            return sku_code == null ? "" : sku_code;
        }

        public String getSku_goods_number() {
            return sku_goods_number == null ? "" : sku_goods_number;
        }

        public String getSpecifications() {
            return specifications == null ? "" : specifications;
        }
    }

}
